#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arr1[] = { 1,2,3,4,5,6,7,8,9,10 };
	int arr2[] = { 1,4,6,12,4,5,23,10,9,0 };
	int temp[] = { 0,0,0,0,0,0,0,0,0,0 };
	int i = 0;
	int sz = sizeof(arr1) / sizeof(arr1[0]);
	for (i = 0; i < sz; i++)
	{
		temp[i] = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = temp[i];
	}
	printf("arr1 = ");
	for (i = 0; i < sz; i++)
	{
		printf("%d  ", arr1[i]);
	}
	printf("\narr2 = ");
	for (i = 0; i < sz; i++)
	{
		printf("%d  ", arr2[i]);
	}
	printf("\n");
	return 0;
}